package top.heliming.leyou.userconsumer.bean;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * description: //实体类
 *
 * @author: heliming
 * @date:2019/05/22 上午 1:49
 */
@Data

public class User implements Serializable {

    private Long id;
  private String idNo;
  // 用户名
  private String userName;
  // 密码
  private String passWord;
  // 姓名
  private String name;
  // 年龄
  private Integer age;
  // 性别，1男性，2女性
  private Integer sex;
  // 出生日期
  private Date birthday;
  // 创建时间
  private Date created;
  // 更新时间
  private Date updated;
  // 备注
  private String note;

  @Override
  public String toString() {
    return "User{" +
        "id=" + id +
        ", idNo='" + idNo + '\'' +
        ", userName='" + userName + '\'' +
        ", passWord='" + passWord + '\'' +
        ", name='" + name + '\'' +
        ", age=" + age +
        ", sex=" + sex +
        ", birthday=" + birthday +
        ", created=" + created +
        ", updated=" + updated +
        ", note='" + note + '\'' +
        '}';
  }

}